package com.jy.api.domain;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by lihu on 2018/1/17.
 */
@Entity
@Data
@NoArgsConstructor
public class WechatSendTemplate {


    @Id
    @Column(length = 50)
    private String id;

    @Column(length = 50)
    private String storeId;

    private String storeName;

    private String theme;

    private String time;

    private String address;

    private String content;

    private String viceContent;

    @Column(insertable = false, updatable = false)
    @Temporal(TemporalType.TIMESTAMP)
    private Date addTime;
    @Column(insertable = false, updatable = false)
    @Temporal(TemporalType.TIMESTAMP)
    private Date updateTime;

    //背景图片
    private String contextUrl;
}
